<template>
  <div class="wrap">
    <iframe
      ref="iframe"
      :src="iframeUrl"
      width="100%"
      height="100%"
      frameborder="0"
    ></iframe>
  </div>
</template>

<script lang="ts">
import { WEB_VIEWER_URL } from '/@/config/settings';

export default {
  data() {
    return {
      iframeUrl: WEB_VIEWER_URL + '/index.html', // 设置你要内嵌的页面 URL
    };
  },
};
</script>

<style scoped>
.wrap {
  padding: 10px;
  width: 100%;
  height: 100%;
}
</style>
